package com.rfid.transport;

public class NdkSupport
{
  static
  {
    System.loadLibrary("NdkSupport");
  }
  
  public static native int AH2206Powoff();
  
  public static native int AH2206Powon();
  
  public static native int AH2208Init();
  
  public static native int AH2208UnInit();
  
  public static native int AH22xxInit(int paramInt);
  
  public static native int AH22xxUnInit();
  
  public static native int COMClose(long paramLong);
  
  public static native int COMIoflush(long paramLong);
  
  public static native int COMOpen(String paramString1, int paramInt, String paramString2, Long paramLong);
  
  public static native int COMRecvBuffer(long paramLong, byte[] paramArrayOfByte, int paramInt);
  
  public static native int COMSendBuffer(long paramLong, byte[] paramArrayOfByte, int paramInt1, int paramInt2);
  
  public static native int CalCRC16(byte[] paramArrayOfByte, int paramInt1, int paramInt2);
  
  public static native int LoadLid(String paramString);
  
  public static native void SetByteValue(Byte paramByte, byte paramByte1);
  
  public static native void SetIntegerValue(Integer paramInteger, int paramInt);
  
  public static native void SetLongValue(Long paramLong, long paramLong1);
  
  public static native int TCPClientClose(long paramLong);
  
  public static native int TCPClientIoflush(long paramLong);
  
  public static native int TCPClientOpen(String paramString, int paramInt, Long paramLong);
  
  public static native int TCPClientRecvBuffer(long paramLong, byte[] paramArrayOfByte, int paramInt);
  
  public static native int TCPClientSendBuffer(long paramLong, byte[] paramArrayOfByte, int paramInt1, int paramInt2);
  
  public static native int UDPClose(long paramLong);
  
  public static native int UDPIoflush(long paramLong);
  
  public static native int UDPOpen(String paramString, int paramInt, Long paramLong);
  
  public static native int UDPRecvBuffer(long paramLong, byte[] paramArrayOfByte, int paramInt);
  
  public static native int UDPSendBuffer(long paramLong, byte[] paramArrayOfByte, int paramInt1, int paramInt2);
  
  public static native int UnLoadLid(String paramString);
  
  public static native int ex3v3PowerOff();
  
  public static native int ex3v3PowerOn();
  
  public static native int rfidPowerOff();
  
  public static native int rfidPowerOn();
}


